package com.yxw.yxnet_cd_center.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author qiubd
 * @date 2023/6/30 11:46
 */

@Data
@ApiModel(value = "CommonIdDTO", description = "通用id")
public class CommonIdDTO extends BaseDTO implements Serializable {

    private static final long serialVersionUID = -7400638456271424546L;
    /**
     * 唯一请求id
     */
    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空")
    protected Long id;
}
